package com.yyk.yiliao.bean;

import java.util.List;

/**
 * Created by Administrator on 2018/10/22 0022.
 *
 * 预约挂号医院等级
 */

public class CommonHospitalgradeInfo {
    @Override
    public String toString() {
        return "CommonHospitalgradeInfo{" +
                "code=" + code +
                ", msg='" + msg + '\'' +
                ", data=" + data +
                '}';
    }

    /**
     * code : 1
     * msg : 返回成功
     * data : [{"id":11,"name":"未评级"},{"id":10,"name":"一级丙等"},{"id":9,"name":"一级乙等"},{"id":8,"name":"一级甲等"},{"id":7,"name":"二级丙等"},{"id":6,"name":"二级乙等"},{"id":5,"name":"二级甲等"},{"id":4,"name":"三级丙等"},{"id":3,"name":"三级乙等"},{"id":2,"name":"三级甲等"},{"id":1,"name":"三级特等"}]
     */

    private int code;
    private String msg;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        @Override
        public String toString() {
            return "DataBean{" +
                    "id=" + id +
                    ", name='" + name + '\'' +
                    '}';
        }

        /**
         * id : 11
         * name : 未评级
         */

        private int id;
        private String name;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }
    }
}
